package org.gatorojo.model;

/**
 * Clase que representa la entidad Product de GatoRojo.
 * @author jastazv
 *
 */
public class Product {
	private int code;
	private String name;
	private double stock;
	
	// Constructor de Product.
	public Product(int code, String name, double stock) {
		this.code = code;
		this.name = name;
		this.stock = stock;
	}
	
	// Constructor de Product.
	public Product() {
	}
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getStock() {
		return stock;
	}
	public void setStock(double stock) {
		this.stock = stock;
	}
}